package com.daka.service.impl;

import com.daka.dao1.MemberOrgDao;
import com.daka.entity.MemberOrg1;
import com.daka.service.MemberOrgService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by yangx
 * CreateTime: 2016/11/24 14:12
 */
@Service("memberOrgService")
public class MemberOrgServiceImpl implements MemberOrgService {

    @Autowired
    private MemberOrgDao memberOrgDao1;

    public int deleteByPrimaryKey(Integer id) {
        return memberOrgDao1.deleteByPrimaryKey(id);
    }

    public int insert(MemberOrg1 record) {
        return memberOrgDao1.insert(record);
    }

    public MemberOrg1 selectByPrimaryKey(Integer id) {
        return memberOrgDao1.selectByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(MemberOrg1 record) {
        return memberOrgDao1.updateByPrimaryKeySelective(record);
    }
}
